# Contributor: Jirka Dutka <jirka@dutka.net>
# Maintainer: Jirka Dutka <jirka@dutka.net>
pkgname=sblim-wbemcli
pkgver=1.6.3
pkgrel=1
pkgdesc="WBEM Command Line Interface for CIMOM access"
url="https://sourceforge.net/projects/sblim/files/sblim-wbemcli"
arch="all"
license="CPL-1.0 AND EPL-1.0"
makedepends="curl-dev"
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/project/sblim/sblim-wbemcli/$pkgver/sblim-wbemcli-$pkgver.tar.bz2"
options="!check" # there is no testsuite

prepare() {
	default_prepare
	update_config_sub
}

build() {
	./configure \
		--host=$CHOST \
		--build=$CBUILD \
		--prefix=/usr
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="19e90f69ecdb6af1d36d8af7f318174f84ffe3ee4f9a2936238ab6bbc37f06f467c8276b496c9b34c11c271596bda4fb6f339839d6aa7ed3b677411df3139f83  sblim-wbemcli-1.6.3.tar.bz2"
